import request from "./http";

export function getTopSearch(val) {
    return request({
        url: '/cloudsearch',
        method: "get",
        params: {
            limit: 20,
            keywords: val
        }
    })
}

export function getTopHot() {
    return request({
        url: '/search/hot',
        method: "get",
        params: {
            limit: 10,
        }
    })
}